<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/tag/sys" prefix="sys"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<sys:baseUrl/>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="admin/style/common.css" type="text/css" />
<title>编辑专题</title>
</head>
<body>
<div class="center_area" style="margin-left: 15px;">
<form action="admin/news/special/edit/${sp.name }" method="post">
专题名称：<input name="name" value="${sp.name }"/><br><br>
显示模板：<select name="theme">
<c:forEach items="${themes }" var="t">
	<c:if test="${sp.theme==t.path }">
		<option value="${t.path }" selected="selected">${t.name }</option>
	</c:if>
	<c:if test="${sp.theme!=t.path }">
		<option value="${t.path }">${t.name }</option>
	</c:if>
</c:forEach>
</select><br><br>
<center><input type="submit" value="更新"></center>
</form>
<div style="color: red">${message }</div>
</div>
<c:if test="${message=='更新成功' }">
	<script type="text/javascript">
		parent.refresh_list('${sp.name }','${sp.themeName }');
	</script>
</c:if>
</body>
</html>